home *** CD-ROM | disk | FTP | other *** search
/ CICA 1995 September (Japanese) / CICA Shareware for Windows CD-ROM (Walnut Creek) (September 1995) (Japanese) (Disc 2).iso / disc2 / patches / symantec / com611.exe / CMPUPDAT.BAT < prev    next >
Encoding:
DOS Batch File  |  1994-04-14  |  2.1 KB  |  70 lines

  1. @echo off
  2. @echo ---------------------------------------------
  3. @echo I                                           I
  4. @echo I  This file should update some or          I
  5. @echo I  all of these files                       I
  6. @echo I          SC.exe     SCD.dll               I
  7. @echo I          SCCX.exe   SCCD.dll              I
  8. @echo I          SCPPX.exe  SCPPD.dll             I
  9. @echo I          SPPX.exe   SPPD.dll              I
  10. @echo I                                           I
  11. @echo I  depending on the version(STD/PRO) of SC  I                   
  12. @echo I  files in your \SC dir                    I
  13. @echo I                                           I
  14. @echo I  steps:                                   I
  15. @echo I  cd to \SC                                I
  16. @echo I  Type "cmpupdat"                          I
  17. @echo I                                           I
  18. @echo ---------------------------------------------
  19. pause
  20.  
  21. rem test if any of the compiler components is present.
  22. rem if not, display error
  23. if exist .\bin\sccx.exe goto patch
  24. if exist .\bin\scppx.exe goto patch
  25. if exist .\bin\sccd.dll goto patch
  26. if not exist .\bin\scppd.dll goto error
  27.  
  28. :patch
  29. rem do the actual patching
  30. cmppatch .\bin COMP611.rtp /nopathsearch /ignore
  31.  
  32. rem cleaning up
  33. @echo -------------------------------------------------
  34. @echo This batch file will now delete files related to 
  35. @echo this compiler patch with the exception of 
  36. @echo CMPUPDAT.TXT detailing the changes made for 
  37. @echo Symantec C++ 6.11 
  38. @echo .
  39. @echo Press Ctrl+C to abort
  40. @echo -------------------------------------------------
  41. pause
  42.  
  43. rem files containing the patches
  44. del COMP611.RTP
  45.  
  46. rem self-extracting archives
  47. del COM611.EXE
  48.  
  49. rem patch utility
  50. del CMPPATCH.EXE
  51.  
  52. rem readme-first files
  53. del CMPREAD.1ST
  54.  
  55. rem patch instructions
  56. del COM611.TXT
  57.  
  58. goto end
  59.  
  60. :error
  61. rem display error
  62. @echo -------------------------------------
  63. @echo  You are not in the right directory!
  64. @echo  Change directory to the root of
  65. @echo  your Symantec C++ installation, 
  66. @echo  typically \SC
  67. @echo -------------------------------------
  68.  
  69. :end
  70.